<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../laydate/laydate.js"></script>
</head>
<body>
    <input type="text" id="test6">
</div>
</body>
<script>
    laydate.render({
        elem: '#test6',
        range: true,
        format: 'yyyy-MM-dd',
        done:function(value,date,endDate){
            console.log(value);
            console.log(date);
        }
    });
</script>
</html>